package com.kgc.crowd.distributioncrowddatabaseprovider.service;

import com.github.pagehelper.PageInfo;
import com.kgc.crowd.distributioncrowdcommon.pojo.ProjectPO;
import com.kgc.crowd.distributioncrowdcommon.pojo.TagPO;
import com.kgc.crowd.distributioncrowdcommon.pojo.TypePO;
import com.kgc.crowd.distributioncrowdcommon.vo.ProjectVO;

import java.awt.print.Book;
import java.util.List;

public interface ProjectService {
    void saveProject(ProjectVO projectVO, String memberId);
    List<TypePO> selectTypePO();

    List<TagPO> selectTagPO();

    PageInfo<ProjectPO> selectProjectByType(
            Integer pageNum,
            Integer pageSize,
            Integer typeId,
            String keyword);


    void insertProject(ProjectPO projectPO);

    ProjectPO selectProjectAndItemPic(Integer id);

    List<ProjectPO> selectProjectByMemberId(Integer id);

    List<ProjectPO> selectProjectAndAdvertisement(Integer id);

    ProjectPO selectProjectAndReturn(Integer id);
}
